//
//  NSTimer+ILGLib.h
//  ILGDemo
//
//  Created by happy on 2020/3/25.
//  Copyright © 2020 Happy. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface NSTimer (ILGLib)

// 解决了保留环问题，但需要使用者主动调用invalidate
+ (NSTimer *)ilg_scheduledTimerWithTimeInterval:(NSTimeInterval)interval repeats:(BOOL)repeats block:(void (^)(NSTimer *timer))block;

@end

NS_ASSUME_NONNULL_END
